﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;

public partial class Sample : JavaScriptCodeBehind.UserControl
{

    protected void Page_Load(object sender, EventArgs e)
    {        

        DataTable dt = new DataTable();
        dt.Columns.Add("column1");
        dt.Rows.Add(dt.NewRow());
        dt.Rows.Add(dt.NewRow());
        dt.Rows.Add(dt.NewRow());
        dt.Rows.Add(dt.NewRow());

        this.Repeater1.DataSource = dt;
        this.Repeater1.DataBind();        
        
        this.AddControlReference(this.Repeater1);

    }

}

